package com.ant.storage.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author melon
 * @since 2024-05-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cashbook_balance")
@ApiModel(value="CashbookBalance对象", description="")
public class CashbookBalance implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "记账id")
    @TableField("cashbook_id")
    private Integer cashbookId;

    @ApiModelProperty(value = "结算系统的数据对应的id")
    @TableField("balance_id")
    private Integer balanceId;

    @ApiModelProperty(value = "结算系统")
    @TableField("balance_type")
    private String balanceType;

    @ApiModelProperty(value = "支付凭证")
    @TableField("payment_voucher")
    private String PaymentVoucher;

    @ApiModelProperty(value = "收支 1收入 2支出")
    @TableField("Income_and_expenditure")
    private String IncomeAndExpenditure;

    @ApiModelProperty(value = "制单人")
    @TableField("creator_by")
    private String creatorBy;

    @ApiModelProperty(value = "系统创建日期")
    @TableField("create_time")
    private Date createTime;



}
